package ModelLayer;


/**
 * Write a description of class Reservation here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Reservation
{
    private int reservationId;
    private String reservationDate;
    private Person person;
    private DVD dvd;
    
    public Reservation(int _resvId, String _resvDate, Person _person, DVD _dvd)
    {
        reservationId = _resvId;
        reservationDate = _resvDate;
        person = _person;
        dvd = _dvd;
    }

    public int getReservationId()
    {
        return reservationId;
    }
    
    public String getReservationDate()
    {
        return reservationDate;
    }
    
    public Person getReservationPerson()
    {
        return person;
    }
    
    public DVD getReservationDvd()
    {
        return dvd;
    }
    
    public void setReservationId(int _resvId)
    {
        reservationId = _resvId;
    }
    
    public void setReservationDate(String _resvDate)
    {
        reservationDate = _resvDate;    
    }
    
    public void setReservationPerson(Person _person)
    {
        person = _person;
    }
    
    public void setReservationDvd(DVD _dvd)
    {
        dvd = _dvd;
    }
}
